projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2858cdb
)
(bdf-read-font-info): Use string-to-number rather than string-to-int.
author
Glenn Morris
<rgm@gnu.org>
Sat, 2 Feb 2008 04:15:23 +0000
(
04:15
+0000)
committer
Glenn Morris
<rgm@gnu.org>
Sat, 2 Feb 2008 04:15:23 +0000
(
04:15
+0000)
lisp/ps-bdf.el
patch
|
blob
|
history
diff --git
a/lisp/ps-bdf.el
b/lisp/ps-bdf.el
index 3ab884c34d388c15f5e9bacd1ea691e4b5aca39c..35ba405b8f929ce35b71c6e4565d7cfad53993ca 100644
(file)
--- a/
lisp/ps-bdf.el
+++ b/
lisp/ps-bdf.el
@@
-240,7
+240,7
@@
CODE, where N and CODE are in the following relation:
(goto-char (point-min))
(search-forward "\nFONT ")
(if (looking-at "-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-\\([0-9]+\\)")
- (setq size (string-to-
int
(match-string 1)))
+ (setq size (string-to-
number
(match-string 1)))
(search-forward "\nSIZE ")
(setq size (read (current-buffer)))
;; The following kludgy code is t avoid bugs of several